package com.zhima.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zhima
 * @since 2024-01-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("oj_question_bind_contest")
@ApiModel(value = "OjQuestionBindContest对象", description = "")
public class OjQuestionBindContest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("比赛id")
    @TableField("contest_id")
    private Long contestId;

    @ApiModelProperty("题目索引")
    @TableField("question_index")
    private Integer questionIndex;

    @ApiModelProperty("题目id")
    @TableField("question_id")
    private Long questionId;

    @ApiModelProperty("题号")
    @TableField("question_number")
    private String questionNumber;

    @ApiModelProperty("分数倍率")
    @TableField("magnification")
    private Integer magnification;
}
